package practise.mulitThreads.ConcurrentInPractice.Memorizer;

/**
 * Created by richard on 6/13/14.
 */
public class Visitor<V extends ComputeObject> {

    public Integer visit(V object){
        try {
            Thread.sleep(2000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return object.getValue();
    }
}
